#!/usr/bin/python
# -*- coding: utf-8 -*-

# @File        :   html_util.py
# @Version     :   1.0
# @Author      :   zhfnss
# @Email       :   mklv2005@163.com
# @Time        :   2021/03/30 10:44:06
# Description  :   

import requests

class HtmlUtil(object):

    def __init__(self):
        super().__init__()
        self.session = requests.session()

    def get(self, url, data=None, header=None):
        res = self.session.get(url=url, params=data, headers=header)
        return res.text

html_util = HtmlUtil()